package com.caishi.lkx.exam.ienum.type;

import com.zzw.common.mysql.MybatisPlusEnum;
import lombok.Getter;

/***
 * @author lkx
 */
public enum PackageTagType implements MybatisPlusEnum<Integer> {

    question("试题", 1),

    material("资料", 2),

    video("课程", 3),

    live("直播", 4),
    ;

    @Getter
    final String desc;

    @Getter
    final Integer value;

    @Override
    public Integer getCode() {
        return value;
    }

    PackageTagType(String desc, Integer value) {
        this.desc = desc;
        this.value = value;
    }
}
